package com.game.service.beans;

public class GameMessage<T> {
    private int main;
    private int sub;
    private T cmd;

    public int getMain() {
        return main;
    }

    public void setMain(int main) {
        this.main = main;
    }

    public T  getCmd() {
        return cmd;
    }

    public void setCmd(T cmd) {
        this.cmd = cmd;
    }

    public int getSub() {
        return sub;
    }

    public void setSub(int sub) {
        this.sub = sub;
    }

    @Override
    public String toString() {
        return "GameMessage{" +
                "main=" + main +
                ", sub=" + sub +
                ", cmd=" + cmd +
                '}';
    }
}
